import {requerst} from '../request';

export function getuser() {
    return requerst({
        url:"/api2/users/getUser"
    })
}

export function getimg(data){
    return requerst({
        method:'post',
        url:'/api2/users/uploadUserHead',
        data,
        headers:{
            'Content-Type' : 'multipart/form-data'
        }
    })
}